﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FBGraph.ClientGenerator.CodeGen;

namespace FBGraph.ClientGenerator.Tests.CodeGen
{
    [TestClass]
    public class CodeGenObjectTests
    {
        [TestMethod]
        public void ToStringReadsWrittenContent()
        {
            var testObj = new TestCodeGenObject("foobar");
            var expected = "foobar";
            var actual = testObj.ToString();

            Assert.AreEqual(expected, actual);
        }
    }
}